package com.twu.biblioteca;

public class Movie {
    private String name,rating,director;
    private long year;
    public Movie(String name,String director,long year,String rating)
    {
        this.name=name;
        this.director=director;
        this.year=year;
        this.rating=rating;
        LibraryShelves libraryShelves = new LibraryShelves();
        libraryShelves.addMovie();

    }
    public String getName() {
        return name;
    }
    public String getDirector() {
        return director;
    }
    public long getYear() {
        return year;
    }
    public String getRating() {
        return rating;
    }
}

